package com.resign.carl.facade;

import com.resign.carl.facade.entity.User;
import com.resign.carl.facade.manager.UserManager;
import com.resign.carl.facade.manager.impl.UserManagerImpl;

/**
 * 外观模式
 * Created by carl.zhao on 2016/6/15.
 */
public class Client {

    public static void main(String[] args) {
        User user = new User();
        UserManager userManager = new UserManagerImpl();
        userManager.login(user);
    }
}
